<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
<?php echo $cabecalho; ?>
<?php echo $menu_esq; ?>
<div id="mainContent">

<script type="text/javascript" src="<?php echo url::base()?>access/media/js/jquery"></script>
<script type="text/javascript" src="<?php echo url::base()?>access/media/js/jquery.flot"></script>
<script type="text/javascript" src="<?php echo url::base()?>access/media/js/effects"></script>

<link rel="stylesheet" type="text/css" href="<?php echo url::base()?>access/media/css/style" />

<h3>Top Page Content - Views (<?php echo date('Y/m/d', $start_date)?> - <?php echo date('Y/m/d', $end_date)?>)</h3>
<?php echo form::open(NULL, array('method' => 'get'))?>
<p>Start Date: <?php echo form::input('start_date', date('Y/m/d', $start_date))?><br />
End Date: <?php echo form::input('end_date', date('Y/m/d', $end_date))?></p>
<p><?php echo form::submit('go', 'Go')?></p>
<?php echo form::close()?>
<?php echo $page_content?>
<h3>Top Content</h3>
<ol>
	<?php foreach ($top_content as $file => $content_count):?><li><?php echo $file?> - <?php echo $content_count?> Views</li>
	<?php endforeach;?>
</ol>

<!-- end #mainContent --></div>
<?php echo $rodape; ?>